﻿using XinGuanERP.Models.Vo.system;
using XinGuanERP.Utils;

namespace XinGuanERP.Services.system.IServices
{
    public interface IUserService
    {
        List<UserVo> GetUserWithList(string DeptId, string? userName, string? realName);

        bool UpdateUser(UserVo viewUser);

        bool DeleteUser(string UserId);

        bool ResetToDefaultPassword(string UserId);

        PageResult<UserVo> GetUserWithPage(int page, int pageSize, string DeptId, string? userName, string? realName);

        UserVo GetUserByUserId(string userId);
    }
}
